import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import kill from '@/components/kill'
import home from '@/components/home'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld,
      children:[
        {
          path:'/index',
          name:'index',
        }
      ]
    },
    {
      path: '/home',
      name: 'home',
      component: home
    },
  ]
})
